package net.adetech.crj.dao;

import net.adetech.crj.entity.Remind;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RemindMapper {

    @Select("select * from crj_remind")
    List<Remind> getAllRemindList();

    @Select("select * from crj_remind where code = #{code}")
    Remind getRemindByCode(String code);
}
